home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
blkspell
/
borlxapp.rc
< prev
next >
Wrap
Text File
|
1998-09-22
|
10KB
|
317 lines
//----------------------------------------------------------------------------
// Project Borl_ex
// BlockTeq Software
// Copyright ⌐ 1998. All Rights Reserved.
//
// SUBSYSTEM: Borl_ex Application
// FILE: borlxapp.rc
// AUTHOR: D.R.Block
//
// OVERVIEW
// ~~~~~~~~
// All resources defined here.
//
//----------------------------------------------------------------------------
#if !defined(WORKSHOP_INVOKED)
# include <windows.h>
#endif
#include "borlxapp.rh"
IDM_SDI MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New", CM_FILENEW
MENUITEM "&Open...", CM_FILEOPEN
MENUITEM SEPARATOR
MENUITEM "&Save", CM_FILESAVE, GRAYED
MENUITEM "Save &As...", CM_FILESAVEAS, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit\tAlt+F4", CM_EXIT
END
MENUITEM SEPARATOR
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tAlt+BkSp", CM_EDITUNDO, GRAYED
MENUITEM SEPARATOR
MENUITEM "Cu&t\tShift+Del", CM_EDITCUT, GRAYED
MENUITEM "&Copy\tCtrl+Ins", CM_EDITCOPY, GRAYED
MENUITEM "&Paste\tShift+Ins", CM_EDITPASTE, GRAYED
MENUITEM SEPARATOR
MENUITEM "Clear &All\tCtrl+Del", CM_EDITCLEAR, GRAYED
MENUITEM "&Delete\tDel", CM_EDITDELETE, GRAYED
END
POPUP "&Search"
BEGIN
MENUITEM "&Find...", CM_EDITFIND, GRAYED
MENUITEM "&Replace...", CM_EDITREPLACE, GRAYED
MENUITEM "&Next\aF3", CM_EDITFINDNEXT, GRAYED
END
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM SEPARATOR
POPUP "&Help"
BEGIN
MENUITEM "&About...", CM_HELPABOUT
END
END
// Accelerator table for short-cut to menu commands. (include/owl/editfile.rc)
//
IDM_SDI ACCELERATORS
BEGIN
VK_DELETE, CM_EDITCUT, VIRTKEY, SHIFT
VK_INSERT, CM_EDITCOPY, VIRTKEY, CONTROL
VK_INSERT, CM_EDITPASTE, VIRTKEY, SHIFT
VK_DELETE, CM_EDITCLEAR, VIRTKEY, CONTROL
VK_BACK, CM_EDITUNDO, VIRTKEY, ALT
VK_F3, CM_EDITFINDNEXT, VIRTKEY
END
// Table of help hints displayed in the status bar.
//
STRINGTABLE
BEGIN
-1, "File/document operations"
CM_FILENEW, "Creates a new window"
CM_FILEOPEN, "Opens a window"
CM_FILECLOSE, "Closes the active document"
CM_FILESAVE, "Saves the active document"
CM_FILESAVEAS, "Saves the active document with a new name"
CM_EXIT, "Quits Borl_ex and prompts to save the documents"
CM_EDITUNDO-1, "Edit operations"
CM_EDITUNDO, "Reverses the last operation"
CM_EDITCUT, "Cuts the selection and puts it on the Clipboard"
CM_EDITCOPY, "Copies the selection and puts it on the Clipboard"
CM_EDITPASTE, "Inserts the Clipboard contents at the insertion point"
CM_EDITDELETE, "Deletes the selection"
CM_EDITCLEAR, "Clears the active document"
CM_EDITADD, "Inserts a new line"
CM_EDITEDIT, "Edits the current line"
CM_EDITFIND-1, "Search/replace operations"
CM_EDITFIND, "Finds the specified text"
CM_EDITREPLACE, "Finds the specified text and changes it"
CM_EDITFINDNEXT, "Finds the next match"
CM_HELPABOUT-1, "Access About"
CM_HELPABOUT, "About the Borl_ex application"
END
//
// OWL string table
//
// EditFile (include/owl/editfile.rc and include/owl/editsear.rc)
//
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
BEGIN
IDS_CANNOTFIND, "Cannot find ""%s""."
IDS_UNTITLED, "Document"
IDS_UNABLEREAD, "Unable to read file %s from disk."
IDS_UNABLEWRITE, "Unable to write file %s to disk."
IDS_FILECHANGED, "The text in the %s file has changed.\n\nDo you want to save the changes?"
IDS_FILEFILTER, "Text files|*.txt|AllFiles|*.*|"
END
// Exception string resources (include/owl/except.rc)
//
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
BEGIN
IDS_OWLEXCEPTION, "ObjectWindows Exception"
IDS_UNHANDLEDXMSG, "Unhandled Exception"
IDS_OKTORESUME, "OK to resume?"
IDS_UNKNOWNEXCEPTION, "Unknown exception"
IDS_UNKNOWNERROR, "Unknown error"
IDS_NOAPP, "No application object"
IDS_OUTOFMEMORY, "Out of memory"
IDS_INVALIDMODULE, "Invalid module specified for window"
IDS_INVALIDMAINWINDOW,"Invalid MainWindow"
IDS_VBXLIBRARYFAIL, "VBX Library init failure"
IDS_INVALIDWINDOW, "Invalid window %s"
IDS_INVALIDCHILDWINDOW,"Invalid child window %s"
IDS_INVALIDCLIENTWINDOW,"Invalid client window %s"
IDS_CLASSREGISTERFAIL,"Class registration fail for window %s"
IDS_CHILDREGISTERFAIL,"Child class registration fail for window %s"
IDS_WINDOWCREATEFAIL, "Create fail for window %s"
IDS_WINDOWEXECUTEFAIL,"Execute fail for window %s"
IDS_CHILDCREATEFAIL, "Child create fail for window %s"
IDS_MENUFAILURE, "Menu creation failure"
IDS_VALIDATORSYNTAX, "Validator syntax error"
IDS_PRINTERERROR, "Printer error"
IDS_LAYOUTINCOMPLETE, "Incomplete layout constraints specified in window %s"
IDS_LAYOUTBADRELWIN, "Invalid relative window specified in layout constraint in window %s"
IDS_GDIFAILURE, "GDI failure"
IDS_GDIALLOCFAIL, "GDI allocate failure"
IDS_GDICREATEFAIL, "GDI creation failure"
IDS_GDIRESLOADFAIL, "GDI resource load failure"
IDS_GDIFILEREADFAIL, "GDI file read failure"
IDS_GDIDELETEFAIL, "GDI object %X delete failure"
IDS_GDIDESTROYFAIL, "GDI object %X destroy failure"
IDS_INVALIDDIBHANDLE, "Invalid DIB handle %X"
END
// General Window's status bar messages. (include/owl/statusba.rc)
//
STRINGTABLE
BEGIN
IDS_MODES "EXT|CAPS|NUM|SCRL|OVR|REC"
IDS_MODESOFF " | | | | | "
SC_SIZE, "Changes the size of the window"
SC_MOVE, "Moves the window to another position"
SC_MINIMIZE, "Reduces the window to an icon"
SC_MAXIMIZE, "Enlarges the window to it maximum size"
SC_RESTORE, "Restores the window to its previous size"
SC_CLOSE, "Closes the window"
SC_TASKLIST, "Opens task list"
SC_NEXTWINDOW, "Switches to next window"
END
// Validator messages (include/owl/validate.rc)
//
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
BEGIN
IDS_VALPXPCONFORM "Input does not conform to picture:\n""%s"""
IDS_VALINVALIDCHAR "Invalid character in input"
IDS_VALNOTINRANGE "Value is not in the range %ld to %ld."
IDS_VALNOTINLIST "Input is not in valid-list"
END
//
// Misc application definitions
//
// Application ICON
//
IDI_SDIAPPLICATION ICON "applsdi.ico"
// Client Dialog
//
IDD_CLIENT DIALOG 6, 15, 207, 111
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Dialog Client"
FONT 8, "MS Sans Serif"
{
CONTROL "Edit1", IDC_EDIT1, "edit", ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 9, 9, 188, 43
CONTROL "SpellCheck", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 40, 64, 50, 14
CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 64, 50, 14
CONTROL "Show License", IDC_BUTTON1, "button", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 75, 90, 56, 14
}
// About box.
//
// Version info.
//
#if !defined(__DEBUG_)
// Non-Debug VERSIONINFO
//
1 VERSIONINFO LOADONCALL MOVEABLE
FILEVERSION 1, 0, 0, 0
PRODUCTVERSION 1, 0, 0, 0
FILEFLAGSMASK 0
FILEFLAGS VS_FFI_FILEFLAGSMASK
#if defined(BI_PLAT_WIN32)
FILEOS VOS__WINDOWS32
#else
FILEOS VOS__WINDOWS16
#endif
FILETYPE VFT_APP
BEGIN
BLOCK "StringFileInfo"
BEGIN
// Language type = U.S. English(0x0409) and Character Set = Windows, Multilingual(0x04e4)
BLOCK "040904E4" // Matches VarFileInfo Translation hex value.
BEGIN
VALUE "CompanyName", "BlockTeq Software\000"
VALUE "FileDescription", "Borl_ex for Windows\000"
VALUE "FileVersion", "1.0\000"
VALUE "InternalName", "Borl_ex\000"
VALUE "LegalCopyri